projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a61d5e
)
Make bytecomp-tests re-runnable
author
Mattias Engdegård
<mattiase@acm.org>
Wed, 19 Aug 2020 11:39:18 +0000
(13:39 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Wed, 19 Aug 2020 11:56:32 +0000
(13:56 +0200)
* test/lisp/emacs-lisp/bytecomp-tests.el
(test-byte-comp-macro-expand-lexical-override): Remove functions
before testing so that the test can be run twice without failing.
test/lisp/emacs-lisp/bytecomp-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/emacs-lisp/bytecomp-tests.el
b/test/lisp/emacs-lisp/bytecomp-tests.el
index 894914300aef008aa47b0af3c9eafd0121774323..27acdffa532a80f1e4cb1a2fec9c5371fbc04f9e 100644
(file)
--- a/
test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/
test/lisp/emacs-lisp/bytecomp-tests.el
@@
-479,6
+479,8
@@
Subtests signal errors if something goes wrong."
(ert-deftest bytecomp-tests--warnings ()
(with-current-buffer (get-buffer-create "*Compile-Log*")
(let ((inhibit-read-only t)) (erase-buffer)))
+ (dolist (f '(my-test0 my--test11 my--test12 my--test2))
+ (fset f nil))
(test-byte-comp-compile-and-load t
'(progn
(defun my-test0 ()